@import "../vorlontheme.less";

.plugin-objexplorer {

    .obj-explorer-container {
        height: 100%;
        overflow: hidden !important;
    }

    .tree-view-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        @searchBoxHeight: 38px;

        #searchbox {
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            padding: 4px;
            height: @searchBoxHeight;
            border-bottom: 1px solid #EEE;
            display: flex;

            .panel {
                position: relative;

                input {
                    width: 100%;
                    padding-left: 30px;
                }

                i {
                    left: 10px;
                    top: 0;
                    line-height: 27px;
                    color: #CCC;
                    position: absolute;
                }
            }

            .searchPanel {
                flex: 1;
            }

            .filterPanel {
                width: 20%;
                min-width: 120px;
                margin-left: 4px;
            }
        }

        #treeViewObj {
            position: absolute;
            left: 0;
            top: @searchBoxHeight;
            right: 0;
            bottom: 0;
            padding: 5px 20px 20px 30px;
            overflow: auto;
            line-height: 1.5em;
        }
    }

    .panel-left, .panel-right {
        height: 100%;
    }

    .objdescriptor {
        margin-bottom: 5px;
    }

    .expandable {
        > .expand {
            cursor: pointer;

            > .expand-btn {
                color: black;
                margin-left: -18px;
                margin-right: 4px;
                width: 14px;
                height: 14px;
                line-height: 12px;
                border: 1px solid #DDD;
                text-align: center;
                cursor: pointer;
                display: inline-block;
            }
        }

        > .expand-content {
            display: none;
            padding-left: 30px;
            margin-left: -12px;
            border-left: 1px solid #DDD;
        }

        &.expanded {
            > .expand-content {
                display: block;
            }
        }
    }

    .tree-view {
        padding: 0;
    }
    
    .objdescriptor>*{
        margin-bottom: 2px;
    }

    .property{
    
        .prop-name{
        }

        .prop-value{
            color: #2C2242;
            margin-left: 10px;
            text-decoration: underline;
        }
    }

    .actionicon {
        margin-left: 0.5em;
        display: inline-block;
        width: 16px;
        height: 16px;
        line-height: 16px;
        color: lighten(@lightpurple, 50%);
        text-align:center;
        vertical-align : middle;
    }
}
